<template>
	<view class="tpage">
		<view class="page-top">
			<view class=""><image class="avatar" :src="LogoImage" mode=""></image></view>
			<view class="tpf-about-app-title">TPFrame uni mall</view>
			<view class="tpf-about-app-version">v1.0.0</view>
		</view>
		<view class="page-middle"> 
			<view class="page-middle-top">TPFrame uni 商城致力于开发线上跨平台电商终极解决方案，目前跨域的平台有：</view>
			<view class="page-middle-content">
				<view class="page-middle-item">1. 安卓APP</view>
				<view class="page-middle-item">2. IOS</view>
				<view class="page-middle-item">3. H5/公众号</view>
				<view class="page-middle-item">4. 微信小程序</view>
				<view class="page-middle-item">5. 支付宝小程序</view>
				<view class="page-middle-item">6. 百度小程序</view>
				<view class="page-middle-item">7. 字节跳动小程序</view>
				<view class="page-middle-item">8. QQ小程序</view>
				<view class="page-middle-item">9. 360小程序</view>
				<view class="page-middle-item">10. 快应用</view>
			</view>
		</view>
		<view class="page-bottom">
			<view class="page-bottom-bg">
				<image class="qrcode" :src="QrCodeImage" mode=""></image>
				<view class="page-bottom-tip">
					<text class="page-bottom-text">微信搜索“</text>
					<text class="page-bottom-text tpf-company-name">头泉科技</text>
					<text class="page-bottom-text">”或扫描二维码实时关注最新动态</text>
				</view>
				<text class="tpf-copy-tip" @tap="copyText('头泉科技')">复制公众号名</text>
			</view>	
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				LogoImage: "http://cdn.cqtouquan.com/assets/images/uniapp/mall/logo.png",
				QrCodeImage: "http://cdn.cqtouquan.com/assets/images/uniapp/mall/wechat.jpg"
			}
		},
		methods: {
			copyText(text){
				this.$Helper.setClipboardData(text);
			}
		}
	}
</script>

<style lang="scss" scoped>
	.tpage{
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background-color: $uni-bg-color;
		display: flex;
		flex-direction: column;
		justify-content:space-between;
	}
	.avatar{
		width: 150rpx;
		height: 150rpx;
		border-radius: $uni-border-radius-circle;
	}
	.page-top{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin-top: 50rpx;
	}
	.page-middle{
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		padding: 0 20rpx;
	}
	.page-middle-top{
		margin-bottom: 20rpx;
		font-size: $uni-font-size-base*1.1;
		color: #666666;
	}
	.page-middle-item{
		font-size: $uni-font-size-lg;
		color: $uni-text-color-grey;
		line-height: 60rpx;
	}
	.page-middle-content{
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		padding: 0 60rpx;
	}
	.page-bottom{
		display: flex;
		padding: 0rpx 20rpx;
		align-items: center;
		justify-content: center;
		margin-bottom: 50rpx;
		margin-top: 30rpx;
	}
	.page-bottom-bg{
		width: 700rpx;
		background-color: $uni-bg-color-grey;
		/* #ifndef APP-PLUS-NVUE */
		display: flex;
		/* #endif */
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding:50rpx;
	}
	.qrcode{
		width: 400rpx;
		height: 400rpx;
	}
	.tpf-about-app-title{
		font-size: $uni-font-size-base*1.2;
		margin: 20rpx 0 0;
	}
	.tpf-about-app-version{
		font-size: $uni-font-size-lg;
		color: #a19f9f;
		margin: 20rpx 0;
	}
	.page-bottom-tip{
		margin-top: 20rpx;
	}
	.page-bottom-text{
		font-size: $uni-font-size-base;
		color: #3C3E49;
	}
	.tpf-company-name{
		color:#007AFF;
	}
	.tpf-copy-tip{
		font-size: $uni-font-size-base*1.2;
		color: #FF0000;
		text-decoration: underline;
	}
</style>
